home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / minix / includ~1.z / includ~1 / grp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-12-02  |  526 b   |  22 lines

  1. /* The <grp.h> header is used for the getgrid() and getgrname() calls. */
  2.  
  3. #ifndef _GRP_H
  4. #define _GRP_H
  5.  
  6. struct    group { 
  7.   char *gr_name;        /* the name of the group */
  8.   char *gr_passwd;        /* the group passwd */
  9.   gid_t gr_gid;            /* the numerical group ID */
  10.   char **gr_mem;        /* a vector of pointers to the members */
  11. };
  12.  
  13. /* Function Prototypes. */
  14. #ifndef _ANSI_H
  15. #include <ansi.h>
  16. #endif
  17.  
  18. _PROTOTYPE( struct group *getgrgid,  (int __gid)              );
  19. _PROTOTYPE( struct group *getgrname, (char *__name)             );
  20.  
  21. #endif /* _GRP_H */
  22.